improvement(settings): react health pass across settings surface#5324
Conversation
- workflow-mcp: move tool-edit state seeding from a derive effect into the Edit event handler - admin: drop 2 inert useMemo (page math) and 1 unused useCallback - inbox + teammates: migrate filter/search view-state from useState to nuqs URL params (shareable, debounced writes) - team roster: memoize O(workspaces x members) grouping so keystroke search stays cheap at scale - remove dead code (unused props/locals: currentUserEmail, setOrgName, isLoadingWorkflows, isTeam)
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Inbox and Teammates move status/search from local Organization member lists memoize per-workspace roster grouping so search keystrokes don’t redo O(workspaces × members) work on every render. Workflow MCP servers seed tool-edit textarea state in the Edit handler instead of a Admin drops unnecessary Reviewed by Cursor Bugbot for commit 51ee43d. Configure here. |
Greptile SummaryThis PR updates several settings pages to reduce stale UI state and make filters shareable. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "improvement(settings): react health pass..." | Re-trigger Greptile |
Summary
useEffectinto the Edit event handler (fixes a one-frame stale-textarea flash)useMemo(page arithmetic) and 1 unuseduseCallbackin adminuseStateto nuqs URL params — shareable/bookmarkable, with debounced URL writes (input stays instant)currentUserEmail,setOrgName,isLoadingWorkflows,isTeam)All changes are behavior-preserving (the nuqs migrations additively enable deep-linking). No blanket/cargo-cult memoization.
Type of Change
Testing
Tested manually.
tsc --noEmitclean, biome clean, no unused locals in the settings surface.Checklist